Parse Structured Test Data Format in Haskell