redis restructured to use strings of JSON