When removing an element, the 'ui_object_id' can not be set to the null object because the attributemap expects it to be a string. This change uses the string 'null' instead of the null object for the value.