redo the parsing of json for the snapmodel
fix sending of snaps