fixes issue where HALDocs were being converted to AttrDicts when they're cached