dump redis in json and and reload into redis using python