json fixing