closes #4: support consuming of query permalinks