move header into different function and call json.Marshal on the message
move header into different function and call json.Marshal on the message

Imgur/incus,AdriVanHoudt/incus,AdriVanHoudt/incus,Imgur/incus,samuelebistoletti/incus,Imgur/incus,samuelebistoletti/incus,samuelebistoletti/incus,AdriVanHoudt/incus