serializer should know about accessor