reflect new ORM notation in json and xml view

and change location of view file in an example