Allow mass setting config objects by passing an object