added json dump/load to crypto and updated json load thingy on minmax