Not only spidertrons, many other mods add vehicles with equipment grids or even add grids to existing vehicles, but the API doesn't currently have a way to check if a vehicle item prototype has a grid - it can only be checked on the actual item, so I can't answer the question "Does this vehicle type have an equipment grid?" without first creating a vehicle item. So the unpacking idea really does seem like the best way to handle it.
Though I do wonder why the fish breeding device's item has the same type as vehicles ("item-with-entity-data"). It doesn't seem like it can have a grid since it's an assembling machine (which don't have way to set extra data like a name or a colour). I'd have to check the code to see what's going on there - it's probably unintended.