Making the headers a list of kvps to avoid the keys beeing json formatted