Added .json copy function