remove the decode/encode stuff. either send 2 json strings or save everything as one string