Support more flexible schemas in json.