provider/common: implement encodeInstanceTypes, supportedArchitectures no longer needed