enums and singleton objects are serializing correctly now