bkr system-details currently outputs hardware inventory information for the given system in RDF/XML format. It would be useful if it could output JSON as well. Major Hayden has contributed a patch for this: https://gerrit.beaker-project.org/6167
One thing to consider: we currently have two separate commands: bkr system-details, which outputs hardware inventory information, and bkr system-status, which outputs the current state of the system like who has reserved it, whether it is loaned, etc. If we make bkr system-details just blindly output the response from GET /systems/<fqdn> the JSON output will include a lot more than just hardware inventory, it will be basically overlapping with bkr system-status. Maybe not a big deal though?
*** Bug 922182 has been marked as a duplicate of this bug. ***