@staticmethod
def get_field_format_map(registration):
    """Generates dict which provides registration information for format fields"""
    return {'user_id': registration.user_id, 'user_name': registration.
        full_name, 'user_firstname': registration.first_name,
        'user_lastname': registration.last_name, 'event_id': registration.
        event_id, 'event_title': registration.event.title, 'eventuser_id':
        'e{0}u{1}'.format(registration.event_id, registration.user_id),
        'registration_title': registration.registration_form.title}
