The parser is changed. I don't use the Pattern Matinching for each triple but just when a end triG (}) is reached.