allow to use tempalting for json objects