LPS-46762 Refactor Poller API to be serializable, to be ready for portle...

...t sandbox proxying