refactor batch_params out of Openings client