Various fixes:
    - fixed the deserialization NullPointerException.
    - added sort information for states
    - fixed labels for productions
    - created the cleaner filter that removes artifacts from the parse tree.