ToMap() functionality for the structs: tracks, playlists and plentries