Fixed error output of json-read