def build_meta_fields(mod)
      fields = {}
      %w{mod_type assignment_type}.each do |key|
        fields[key] = mod.send(key) if mod.respond_to?(key)
      end
      if mod.grade_item
        Moodle2CC::Moodle::GradeItem::PROPERTIES.each do |key|
          fields[key] = mod.grade_item.send(key) if mod.grade_item.respond_to?(key)
        end
      end
      
      fields
    end
def build_meta_fields(mod)
      fields = {}
      %w{mod_type assignment_type}.each do |key|
        fields[key] = mod.send(key) if mod.respond_to?(key)
      end
      if mod.grade_item
        Moodle2CC::Moodle::GradeItem::PROPERTIES.each do |key|
          fields[key] = mod.grade_item.send(key) if mod.grade_item.respond_to?(key)
        end
      end
      
      fields
    end
Common Cartridge doesn't have anywhere to put assignment meta data like this
 So add them as HTML meta fields in the HTML file