I have an api call response with this format. They are token and I know how to filter an array. But here instead of an array I have an object.
{
  "AFjQbjBwEF4HfBgKYTeK3SZg4cGRuB9o3rNGmQvHwtFX": {
    "name": "000# Heartbreak",
    "symbol": "NNPOSTER",
    "description": "The crystal broken heart is a mirror through which residents of the NEONEXUS can take a peek into the real world as we know it.",
    "seller_fee_basis_points": 500,
    "image": "https://arweave.net/8TpUvw7hi7N_rVuG6avV_cOX2bXQ7OsY-ZNtILCM-zo?ext=jpg",
    "animation_url": "https://arweave.net/WdzVw-_XE7LQArXArYJNpeMSgFbYYwa1ATpCVrfrTK8?ext=mp4",
    "external_url": "https://neonexus.io",
    "attributes": [
      {
        "trait_type": "City",
        "value": "Miami"
      },
      {
        "trait_type": "Theme",
        "value": "Heartbreak in Miami"
      },
      {
        "trait_type": "Origin",
        "value": "Airdrop"
      },
      {
        "trait_type": "Scene",
        "value": "Moody"
      },
      {
        "trait_type": "Period",
        "value": "Lockdown"
      },
      {
        "trait_type": "Artist",
        "value": "Daramola"
      }
    ],
    "collection": {
      "name": "NEONEXUS Posters",
      "family": "Raynesfere"
    },
    "properties": {
      "files": [
        {
          "uri": "https://arweave.net/8TpUvw7hi7N_rVuG6avV_cOX2bXQ7OsY-ZNtILCM-zo?ext=jpg",
          "type": "image/gif"
        },
        {
          "uri": "https://arweave.net/WdzVw-_XE7LQArXArYJNpeMSgFbYYwa1ATpCVrfrTK8?ext=mp4",
          "type": "video/mp4"
        }
      ],
      "category": "video",
      "creators": [
        {
          "address": "Ef896VQS1tfMACgL5Ce1TR7JZhehkrtowCyZZyYv7SWn",
          "share": 100
        }
      ]
    }
  },
  "F8EeyxkR5EBs7ALaapV2jNos8jdbdgpqjtEaJ6fVfB3K": {
    "name": "Skellies #4107",
    "symbol": "SKULL",
    "description": "Skellies is a collection of 8888 spooky skeletons presented by the SolSocks team",
    "seller_fee_basis_points": 500,
    "image": "https://www.arweave.net/mG5dY4GC-3g9j661NRQWoGYWKUtbqDvfhW8whDVVEF0?ext=png",
    "attributes": [
      {
        "trait_type": "Background",
        "value": "Pepto"
      },
      {
        "trait_type": "Skin",
        "value": "Purple Haze"
      },
      {
        "trait_type": "Eyes",
        "value": "Angry"
      },
      {
        "trait_type": "Nose",
        "value": "Double Double"
      },
      {
        "trait_type": "Chest",
        "value": "None"
      },
      {
        "trait_type": "Ears",
        "value": "none"
      },
      {
        "trait_type": "Mouth",
        "value": "WGMI #2"
      },
      {
        "trait_type": "Glasses",
        "value": "none"
      },
      {
        "trait_type": "Headwear",
        "value": "Droid"
      },
      {
        "trait_type": "Limited Edition",
        "value": "no"
      },
      {
        "trait_type": "Dna",
        "value": "82310019050"
      }
    ],
    "collection": {
      "name": "Skellies X SolSocks",
      "family": "Skellies"
    },
    "properties": {
      "files": [
        {
          "uri": "https://www.arweave.net/mG5dY4GC-3g9j661NRQWoGYWKUtbqDvfhW8whDVVEF0?ext=png",
          "type": "image/png"
        }
      ],
      "category": "image",
      "creators": [
        {
          "address": "CpvHujvbSJ9btvPmP5FUKC8QpGM8AQjFk7uLJSsomoH2",
          "share": 85
        },
        {
          "address": "BQ6FxfRVDWKUVeqD9uHFqBjebJ9Um8RVzPTPZ1bBoByU",
          "share": 15
        }
      ]
    }
  },
}
I need to keep only the tokens with a specific collection.name: "Skellies X SolSocks".
I cannot use map because is an object.
Is there a map/filter/reduce function I can use?
 
     
    