create a load of bash overhead to try and pretend to be a python data structure