Use json for html status file instead of pickle.