Add the ability to convert a schema into a json string.