iter: set out params before performing work.
json: only append $id field if v_oid is set.