useing json for persisting tasks