Convert base types to implement CanonicalValue