Expose object containing matches as input/outpuut