extracting validator for converter in separated class