slightly better error reporting with demjson