Refactor TrexUpload mongoengine document