module Conjur module HasId def to_json(options = {}) { id: id } end def id path_components[-1] end end end