Parses your object, modifying it for defined cases that apply.
Takes an object and merges enabled cases and removes disabled cases in the object
- obj (object) - original object
- cases (object) - cases object
- filter (function) - (optional) filter properties to ignore
- returns (object) updated - obj