The molecular and atomic component of outflows from protostars probed by JWST/MIRI