fix json in configurations