Correct rstring handling in JSONToTuple