adding json to redis database