correct json without last comma