minor fixes to JSON template in cms parser