Fixes issue #4

fix error reading non-json results