Add an operation on PropertyMapper that takes care of casting. Returns a source for the requested type if the current value is of the right type. Closes gh-11788