Addition of Functors to encapsulate JsonObject loading functions

Alteration to change long if-elseif-else string check into a map of loadable types and their loading functions. May need to move the functor definitions over to a new file.

Comments and suggestions wanted, both for short-term and long-term.