getLevelsDataByOriginals = (levels, levelOriginals) => {
  let levelDataMap = {}
  if (_.isArray(levels)) {
    levelDataMap = getLevelDataMap(levels)
  } else {
    levelDataMap = levels
  }
  return levelOriginals.map((original) => levelDataMap[original])
}
Gets the level data given a list of levels and list of level original ids.
@param {Object[]|Object} levels - The list of level objects, or an object with keys as level original id and value as level data.
@param {string[]} levelOriginals - The list of level original ids.
@returns {Object[]} - Array of level objects.