Collapsed the argument parser and dict writer