Added object serialization on create