use json_decode to avoid problems with commas