Reverted Stardog handling of empty strings

Stardog.js returns an empty object on an empty result set. Revert to an
empty string if the request asked for text.