Well, I think a serializer could serve json and yaml, but only in a future where there is a vnd. media-type or a formal one. In that case, it may do some internal processing.