Use Python To Create Json Php Header Location