Cache the services by dumping the service container.