Add leader bindings to format XML and JSON