fix cases where a string is passed to unframe_is_list and unframed_is_map