Read in java timestamps correctly