Why the need for the cast? `Maps2.<String, String, String>transformKeys(input, FN)`? But is Java not able to figure that out itself?