Is it right for the store to be responsible for rendering to/from JSON, or should the encoded form be passed in?