Changed Arduino output to JSON.