Stockholm format parser/writer

This is in the new parse format that @ElDeveloper created in #235 so merge his first.