(In revision:4272) re #172 : Added version, href, and template properties to json output for an item. Optimised template rendering to only included non-unqiue states for collection and unique and required states for item.