fixing bad json