port to non-deprecated lazyflow API

unit tests pass