From 3d dualities to 2d free field correlators and back