Refactored converting objects to strings and parsing them back.

I saw it :-) It is ok now. sorry for unnecessary noise