remove redundant 'key' prefixes from messages