old_contents: import json, os, pwd
  from flask import Flask, render_template, request
  from mpcontribs.io.mpfile import MPFile
  from mpcontribs.rest import ContributionMongoAdapter
  from mpcontribs.builders import MPContributionsBuilder
  tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
  stat_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static')
  app = Flask('webui', template_folder=tmpl_dir, static_folder=stat_dir)
  
  @app.route('/', defaults={'path': ''}, methods=['GET', 'POST'])
  @app.route('/<path:path>', methods=['GET', 'POST'])
  def index(path):
      if not path and request.method == 'GET':
          return render_template('choose.html')
      full_name = pwd.getpwuid(os.getuid())[4]
      contributor = '{} <phuck@lbl.gov>'.format(full_name)
      mpfile = MPFile.from_file(path if path else request.files['file'])
      cma = ContributionMongoAdapter()
      docs = cma.submit_contribution(mpfile, contributor)
      mcb = MPContributionsBuilder(docs)
      mcb.build(contributor)
      return render_template('index.html', content=mcb.mat_coll)
  
new_contents: import json, os, pwd
  from flask import Flask, render_template, request
  from mpcontribs.io.mpfile import MPFile
  from mpcontribs.rest import ContributionMongoAdapter
  from mpcontribs.builders import MPContributionsBuilder
  tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
  stat_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'static')
  app = Flask('webui', template_folder=tmpl_dir, static_folder=stat_dir)
  app.config['JSON_SORT_KEYS'] = False
  
  @app.route('/', defaults={'path': ''}, methods=['GET', 'POST'])
  @app.route('/<path:path>', methods=['GET', 'POST'])
  def index(path):
      if not path and request.method == 'GET':
          return render_template('choose.html')
      full_name = pwd.getpwuid(os.getuid())[4]
      contributor = '{} <phuck@lbl.gov>'.format(full_name)
      mpfile = MPFile.from_file(path if path else request.files['file'])
      cma = ContributionMongoAdapter()
      docs = cma.submit_contribution(mpfile, contributor)
      mcb = MPContributionsBuilder(docs)
      mcb.build(contributor)
      return render_template('index.html', content=mcb.mat_coll)
  
subject: set JSON_SORT_KEYS to False, closes #12