Python Http Server Send Json Requests