saving timeline json to file so not hitting db