updatedJson = StreamJsonRequestFactory.setSearchTerm(search,
StreamJsonRequestFactory.getJSONRequest(updatedJson)).toString();
}
// see if the stream belongs to a group and set up the stream title as a link
else if (queryObject.containsKey("recipient")
&& queryObject.get("recipient").isArray().size() == 1)
{
JSONArray recipientArr = queryObject.get("recipient").isArray();
JSONObject recipientObj = recipientArr.get(0).isObject();