Add ValidationResult#toJson