Fix bug in schema json response