Remove trailing comma to make json parser happy