Use a utility function for key-value to map conversions

No match.