JsonModelTransmformer now handles arbitrary objects, adjusted example2
accordingly