Returns a map with each value replaced by the result of transform, dropping entries where it returns null.
Keys are unchanged and entry order is preserved.