Process collection value: better handling of non-object values