handle typeglobs in addition to glob refs
decode vstrings
decode nested data structures