Added model instance creation restrictions to html interface and fixed a minur issue with xml and json responsers

XML and JSON response generators, had an error that causes the inclusion of html context data to the xml/json response