parses tab into hash