bugfix trailing comma. Json parse failed