I don't like the json.dumps here, I think we should have an empty schema helper function in lib or somewhere, that we use whenever we need to do this