fixed json validation issue