use class to store format-generator mapping, make is_default better
use CollectionClass to get mapping info