serialize to json file with recordingID:key