[util] Add minimally working inspect() implementation