added function that dumps our mongodb format to asv input format