Add g(to/from)JsonWithSettings

This allows specifying settings for generated instances, currently only to strip custom prefixes. It's a breaking change in the Util module.

I also have a matching commit for this on the settings branch of json-schema.

Any thoughts?