'Returns the UserProfile information.'

def get_user_profile(self, user_id):

    user_info = User.objects.select_related('profile').get(id=user_id)
    meta = {}
    if user_info.profile.meta:
        meta = json.loads(user_info.profile.meta)
    user_data = collections.OrderedDict()
    user_data['User    ID'] = user_info.id
    user_data['Username'] = user_info.username
    user_data['Email'] = user_info.email
    user_data['Full    Name'] = user_info.profile.name
    user_data['First    Name'] = meta.get('first-name', '')
    user_data['Last    Name'] = meta.get('last-name', '')
    user_data['Company    Name'] = meta.get('company', '')
    user_data['Title'] = meta.get('title', '')
    user_data['Language'] = user_info.profile.language
    user_data['Country'] = user_info.profile.country
    user_data['Year    of    Birth'] = user_info.profile.year_of_birth
    user_data['Gender'] = None
    gender = user_info.profile.gender
    for _gender in UserProfile.GENDER_CHOICES:
        if (gender == _gender[0]):
            user_data['Gender'] = _gender[1]
            break
    user_data['Level    of    Education'] = None
    level_of_education = user_info.profile.level_of_education
    for _loe in UserProfile.LEVEL_OF_EDUCATION_CHOICES:
        if (level_of_education == _loe[0]):
            user_data['Level    of    Education'] = _loe[1]
    user_data['Mailing    Address'] = user_info.profile.mailing_address
    user_data['Goals'] = user_info.profile.goals
    user_data['City'] = user_info.profile.city
    user_data['Country'] = user_info.profile.country
    return user_data
