What do you think about making a `format_datatype(undefined, _)` clause so we don't need this case statement?