Rename to_json as serialized to support other output types

@steveklabnik based on comment discussion, happy for suggestions for a better name or other feedback
this seems fine, but I want to give the name some thought.