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