unwrapSingleQuery = queryObject => {
  const queryNames = Object.keys(queryObject);
  if (queryNames.length === 1 && queryNames[0] === "__DEFAULT__") {
    return queryObject.__DEFAULT__;
  }
  return queryObject;
}
Unwraps an object of queries, if it was originally passed as a single query.