Use python to parse JSON, remove invalid char in curl, thx google. TODO speed up python code?