"Image" a directory by converting it to JSON. Make a directory by converting from JSON.