added code to inject custom headers

That were read in via json.loads()