code: def write_phononwebsite(self,filename):
          
          import json
          with open(filename,'w') as f:
              phononwebsite_json = json.dump(self.as_phononwebsite(),f)
docs: Write a json file for the phononwebsite:
          http://henriquemiranda.github.io/phononwebsite