Important this is done in parallel with json being defined as I need to ensure that the desired json can be generated from the object model I currentlty use for generating Xml and Internal Json.
Use of the EclipseLink MOXy allows some transformations to be made in a consistent way without hacks, but there are limits ti what it can do.
Available on test, not yet complete
Use fmt=jsonnew , we cant use fmt=json because that is needed for internal format. At some point I expect mbserver will move to use new fmt, then we can point fmt=json to also point to the new format and discard the internal format.