Revised the encapsulate.json file format.