Also, a GString entry cannot be accessed with a java.lang.String object with same value. Example:
def map = [:] def key = 'foo' map << ["${key}": 'bar'] assert map[key] == null