JARVIS-415 added middleware for uniformed headers