Fix parser
Fix error message from parsing error
Using a stateful parser
Write file in case of serialization error
Remove useless empty lines in MD writer