Currently bag.getObjects() and deck.getObjects() return two different tables

bag: index, guid, name
deck: index, guid, nickname, description, lua_script

You will have to keep the old ones for backward compatibility, but can you provide a minimal same set on both? It would help with code reuse.
  • index
  • guid
  • name
  • description
  • tag