Priority from string to object

changed string variable to Object
allowed for better logging of CDO data on cases