Changed template to use .template instead of .json