Last comma in JSON solved with arrays, fixed #22