rarity defined as an object { name: string; color: string }. I want to parse this field and transform it into { rarity: rarity.name, color: rarity.color }, effectively moving name and color to the top level with rarity being the name value._Rarity Structure:Sticker Structure:Sticker :error: Uncaught (in promise) Error: Unsupported schemanull?