Adds helpers to manipulate layers.json.