If the roles were reversed and we had a US national who was caught spying in China under false pretenses and fled to a consulate, I'd absolutely agree that they should be surrendered to face the Chinese authorities, provided that they weren't facing something beyond the pale like life in prison or execution. I'm glad to see that China took the off-ramp here and gave their person up.