Issue-2

#2 

Proposed fix for the above issue. Added a check for empty strings in the `marshalString` command. Added `TypeError` exceptions if none of the marshal or unmarshal commands are able to handle a given item.