Generalising toQueryList for usage outside of List (ie. EC2)

In reference to #42