trying to pass json to load template