fm_as_collect function

Convert objects to fm_collect