cleaned up and added a direct object serialization. Serialization via reference to base does not work.