Creating reducer with object properties more object oriented by definition than traditional switch-case procedural without any dependencies