requiring json helps with to_json