Refactored converting objects to strings and parsing them back.

Please do not remove all operator <<. This is a good tool for debugging, help for creating binding and is adviced in all c++ best praticies I have seen. If you worry for embeded devices, that is one place you can use ifdef macros.