Removing duplicate properties in config