How can I modify an already present property in a Representation object?
There seems to be only withProperty(key, value) but it gives an exception if the key is already present. The getProperties() method returns a Collections.unmodifiableMap(properties) so I cannot use put()/remove() there.
Maybe an optional "boolean replaceIfExists" flag as last parameter for the with* Methods would be a solution?