Fix. Ensure that response objects are not attempted to be indexed + PEP-8 refactor.
Mod. allow passing of a comparator method to boolean_rate aggregator method