def sqlalchemy_to_dict(_row, org_fields, geo_fields):
    """Pull relevant fields out of the JOIN'd org-geo object.

    Args:
        _row (sqlalchemy model): JOIN'd org-geo object.
        org_fields (list): List of Organization fields to extract.
        geo_fields (list): List of Geographic fields to extract.
    returns:
        row (dict): dict representation of the sqlalchemy model, with
                    releveant fields extracted.
    """
    row = {}
    row.update({k: v for k, v in _row.Organization.__dict__.items()
                if k in org_fields})
    row.update({k: v for k, v in _row.Geographic.__dict__.items()
                if k in geo_fields})
    return row