Updated barchiver to accept a "format" config in the json.