fixed problem in arguments being passed to ma.save_results
better error message for JSON load failure