Fleshes out the query_did response parsing. WIP