Both using api and shell tools are good solutions. But they do not seem scalable, in a container environment it will be difficult to automate this process.
The Geoff package is really great, and if necessary there are tools like in other languages. The speed that he reads and resets data has made me more confident in this decision, unlike others.
Later Edit: I noticed that you are looking for a specific Json Format, I found another cool library that can help with this pretty quickly if you need to.
source share