getLevelDataMap = (levels) => {
  const levelDataMap = {}
  for (const level of levels) {
    const levelOriginal = level.original || level.get('original')
    if (levelOriginal) {
      levelDataMap[levelOriginal] = level.attributes || level
    }
  }
  return levelDataMap
}
Creates a level data map using the list of level objects.
@param {Object[]} levels - The list of level objects.
@returns {Object} - Object with key as the level original id, and value as the object containing level's data.