Make sure headers is an object