WIP: Refactor JuMPDict code

Mostly doing this to get a diff on the entire repo.