Get rid of dependency on `Text.Read.readMaybe` to resolve #382