def _get_coords_dict(json_res):
    """
    Internal method to get a *dict* of the latitude and longitude from the JSON

    :param dict json_res: the JSON response to parse
    :returns: a *dict* containing the coordinates
    """
    location = json_res['results'][0]['geometry']['location']
    lat = location['lat']
    lon = location['lng']
    coords = {'latitude': lat, 'longitude': lon}
    return coords