refactor of the toString() methods, because groovy doesn't identify
the comma point