Fix incorrect config.json files and task to verify them during build