Add missing `metadata` key in `pyout` reply