parseHeaders: Changing map -> filter