functional read/write nested serializer for annotations