Hi @Spipp -
You could develop a python script (that could even become an extension) that runs onboard the vehicle, and polls the Mavlink2Rest interface for the data you want. You could then construct the output packet you desire and send if via UDP to whatever port. This should be fairly straightforward! You can see an example of polling the interface for heading and other information in this extension.