Added some more read/write funcs for reading/writing strings and json objects