write and read basic json files