Added specifications to jsonpickle in app.py to sort and indent the output JSON; modified regex for stripping out time codes to match changes.