python list marshalling

allows users to use python list methods on lists coming into python
nodes as input