Better syntax for inserting into headers map

Thanks to @markpeek for the help