Additions of I/O for d3py integration