Was getting reference errors when using keys with multiple dots, refactored a little and added test for ReturnArrayConfigHanlder
Various changes.. seems type checking against inherited classes is going to prevent pulling a mock through that process.. 
it would work if we type checked for an interface, but I guess I'll look for another way around it instead.