Parses js obj to markdown