preparation for object serialization to JSON