added method and test for that method, renamed MarshalToString struct and affected methods
updated readme