transform hyper+json data with a template