ucimap: add callback for validation/conversion and custom data type