Client must return 'true.' when prolog returns {}
json_prolog client returns dict instead of string.
Adding missing case for prolog status = QUERY_FAILED.