python interface can now handle python lists as inputs and returns appropriate python objects as output