code: function parse_lat_lon(obj, lat_field, lon_field) {
    if ([lat_field, lon_field].every(_.has.bind(null, obj))) {
      return { latitude: obj[lat_field], longitude: obj[lon_field] };
    }
  }
docs: return a lat/lon object if both fields have value