db queries: support 'exists' and 'orderBy' attributes
timemachine responses are utf-8 encoded