add string int/long pair support in hadoop I/O