added location as_json