I want to transfer json into the form I want by python, but it didn't work when I rewrite into json