cli: Attempt to output leaf data as JSON