Another workaround is to set the map key type explicitly, like:
@MapKeyType(@Type(type = "java.lang.String"))
This workaround will also work for non String basic types like:
@MapKeyType(@Type(type = "java.util.Locale"))