pub fn query_map_to_variant<AnnotatedT>(query: &QueryMap) -> Variant<AnnotatedT>where AnnotatedT: Default,
QueryMap to Variant.