working on the objectSerializer