# Convert the "type" field to a human-readable record type name
# using the query_type dictionary. If the right name isn't present
# in the dictionary, we use the (decimal) type id instead.
# Convert the "type" field to a human-readable record type name
# using the query_type dictionary. If the right name isn't present
# in the dictionary, we use the (decimal) type id instead.