[1155991] [EAP5] Unable to create datasource/Queue/Topic via JON
We only want to trim the managedProperties when updating ResConfig, not
when creating a resource. In that case all props need to be set
appropriately.