add better union support for generated hawtio json schema (e.g. for marshal) along with schema for related classes