Set the correct type of mapping for the oldValue and newValue fields.