Parse markdown to a very simple json-format that can then be stringified back to markdown