Generate a lot of the DecodeJson/EncodeJson type that vary by arity.
Included the 22 field class test that was previously missing and added some toString methods to DecodeResult and the like.
Merged generated-types.