1256 sync bugfix

This has already been patched in production; there are a few testing changes and I partially backed out the file.json enum changes at Eurie's request (hg38 is NOT allowed)