add json support for modifications