added JsonModelTransform and updated Example2 to use it