AVRO-729. avro_schema_to_json can take const schema. This method doesn't modify the schema as it writes its JSON encoding, so the schema parameter can be const.