Changed all save2Json functions to use a hook

in gamemodel add loadGame and saveGame


Signed-off-by: Roel Bakker <roelbaka@gmail.com>