old_contents: # -*- coding: utf-8 -*-
  
  # Copyright 2013 Universidad Politécnica de Madrid
  
  # This file is part of Wirecloud.
  
  # Wirecloud is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  
  # Wirecloud is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  
  # You should have received a copy of the GNU General Public License
  # along with Wirecloud.  If not, see <http://www.gnu.org/licenses/>.
  
  from __future__ import absolute_import
  import json
  
  def write_json_description(template_info):
      return json.dumps(template_info, sort_keys=True, indent=4)
  
new_contents: # -*- coding: utf-8 -*-
  
  # Copyright 2013 Universidad Politécnica de Madrid
  
  # This file is part of Wirecloud.
  
  # Wirecloud is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  
  # Wirecloud is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  
  # You should have received a copy of the GNU General Public License
  # along with Wirecloud.  If not, see <http://www.gnu.org/licenses/>.
  
  from __future__ import absolute_import
  import copy
  import json
  
  
  def write_json_description(template_info):
      template_info = copy.copy(template_info)
      del template_info['translation_index_usage']
      return json.dumps(template_info, sort_keys=True, indent=4)
  
subject: Remove translation_index_usage key when serializing template descriptions to json