Clean up serializer for nested object disallowed attributes
Don't allow attributes to be serialized on nested classes