Separate out json serialization in prep for generating polymorphic
mixin.  Create separate project for the plugin to do generation.