working on object serializer