Send PID as a integer in JSON object