Fix clash on JSON error template in validation.