make raml model serializable