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