Override 'toString' to convert an URI definition into String representation

Some changes to be able to render an URI definition as String.