possibly a fix for #86 json parsing