editing file for validatin JSON format