fixed serializer attempting serialization on undef accessors