fix JSON::ParserError on export calls that return blank results
Merge pull request #102 from kale/master

fix JSON::ParserError on export calls that return blank results