adding arguments to json requests