add: add max_err parameter to RunTransaction and let it return
(rc, messages) as an json encoded string