I'm looking to store an entire Javascript object in an ERC-1155 fully on chain. It is a side-chain so storage expenses are not a problem.
What is the best way to go from an object in Javascript to a solidity contract then pack to Javascript?