Generate JSON files in datasources using templates

That allows setting custom URL for data sources (output.url in
config.yaml).

Change-Id: I267961555de8608d7bb70aa74903e62d6025a7ac