added an extra wrapper for json -> string, string -> json operations