def create_track_dict(loved_track):
    """Method that creates a dictionary for a given LovedTrack object from LastFM API
    in such format:
    {'artist': artist-name, 'title': track-title}"""
    return {'artist': loved_track.track.artist.get_name(),
            'title': loved_track.track.title}