- fixed fromValue() so that it returns UNRECOGNIZED when a type is not known, and null when type is null