Allowing extending json response variables in template