check the structure of the json configuration