converted proviers to using json
fixed command line options for consistency