def record_to_xml(name):
    """ Utility function to translate object names to XML tags. """
    if name == 'authors':
        return 'author'
    elif name == 'related_identifiers':
        return 'detail'
    elif name == 'records':
        return 'record'
    else:
        return name