Creating a new type from a list of traits

The important requirements are:

  1. That a user of this API can just dump a serialisable thing in as the payload and later, retrieve it just as easily
  2. That when saved to disk (which we do with usage of our add_block_event_listener) the structure is clearly understood JSON - so (and this is asked in another thread) an array of base 10 encoded digits, which are the byte values of something encoded as JSON, is totally contrary to this goal
  3. That internal implementation details (like use of serde) be hidden - Though, this is ideal