Export all _to_record functions and include location information in the group_to_record function