* Clean space from types when converting to string * Missing cases. * Add unit test for complex type, complete clean fn.