Tweaked Value -> Type parsing, tweaked some writeString and readString implementations