fixed json.parse error emergent from #80 commits