Use LinkedHashMap to preserve header ordering.

Added printHeaderMap function.
Merge remote-tracking branch 'origin/master'