python read json and post