Added JSON template adapter.