Improved replaceItemValue to handle mixed Collections and implemented a
de-serializing getItemValue