code cleanup. Removing unused stepSize and ratio from service

constraints and removing strings that get turned into json that
get turned into objects in favor of just the objects.