Extract method refactor, as suggested in CR #3778
Extract method refactor, as suggested in CR #3778

UCL-ShippingGroup/cartodb-1,CartoDB/cartodb,splashblot/dronedb,thorncp/cartodb,raquel-ucl/cartodb,bloomberg/cartodb,splashblot/dronedb,codeandtheory/cartodb,future-analytics/cartodb,codeandtheory/cartodb,codeandtheory/cartodb,nyimbi/cartodb,raquel-ucl/cartodb,future-analytics/cartodb,splashblot/dronedb,raquel-ucl/cartodb,codeandtheory/cartodb,nuxcode/cartodb,UCL-ShippingGroup/cartodb-1,UCL-ShippingGroup/cartodb-1,raquel-ucl/cartodb,DigitalCoder/cartodb,dbirchak/cartodb,DigitalCoder/cartodb,future-analytics/cartodb,bloomberg/cartodb,CartoDB/cartodb,DigitalCoder/cartodb,nuxcode/cartodb,DigitalCoder/cartodb,dbirchak/cartodb,nyimbi/cartodb,UCL-ShippingGroup/cartodb-1,UCL-ShippingGroup/cartodb-1,nuxcode/cartodb,splashblot/dronedb,thorncp/cartodb,nyimbi/cartodb,bloomberg/cartodb,codeandtheory/cartodb,splashblot/dronedb,future-analytics/cartodb,future-analytics/cartodb,dbirchak/cartodb,dbirchak/cartodb,thorncp/cartodb,CartoDB/cartodb,CartoDB/cartodb,bloomberg/cartodb,nyimbi/cartodb,raquel-ucl/cartodb,thorncp/cartodb,DigitalCoder/cartodb,nuxcode/cartodb,nyimbi/cartodb,dbirchak/cartodb,thorncp/cartodb,CartoDB/cartodb,nuxcode/cartodb,bloomberg/cartodb