Add HTML output for properties.phtml

To enable template properties in "Add Property" button a json object will be
returned to properties.phtml.