Reworked get_obj_tags method, still does not pass test