Javascript JSON to JSON Template Engine