Working towards json serialization of objects in the mod, for later API
support