code: def to(form)
        @form = form
        @form.id = source.id
        for group, type_attr_map in @map
          for type, attr_definition in type_attr_map
            setup_form(group, type, attr_definition)
          end
        end
      end
docs: Converts @source to an ingest form