Portable interface for REST models