Fixed constructor assertion in parser/formatter factories
Merge pull request #7 from wmde/factoryfix

Fixed constructor assertion in parser/formatter factories