- download the latest JAR from releases or build manually
- add JAR to burpsuite using tabs: “Extender” -> “Extensions” -> “Add”
- select one request from any tab or a few requests in “Proxy” -> “HTTP history” tab
- invoke context menu and select “Copy as XMLHttpRequest”
Source : KitPloit – PenTest Tools!