Simplifying get_json()