expanded CollectionJsonConfig

added more functionality to the configuration on app start
changed the implementation that gets collecitonjson attributes
associated to types
register all types on app start up