Add IoError as the error type of JSON errors