solved
used this page as a base, for anyone interested
indent preformatted text by 4 spaces
layout_node = rv.commands.nodesOfType(‘RVLayoutGroup’)[0]
_property = "{}.layout.mode.format(layout_node)
rv.commands.setStringProperty(_property, [‘column’])