Adds basic json schema output. Untested.