Add gulp task for compiling to single template file, refactor helper to use JSON.parse