Make cli based deserialization return the correct data type

Currently it is always string. That is troublesome because binary to string is a problem. (eg. \x10 == \n == 10).

We should likely add some smarts here.

Edited by Eduard Thamm