rewrite the json list