Unmarshal the json string that we are getting from redis.