Use config.json file in any templates folder (internal or external)

Change-Id: Iaf7c5a4ed63721d23f4633a87fcef532872ffd7d