Stringify objects before passing them to redis. Parse objects in lua.