Loading and serializing models in bulk with caching