generate file timestamp with json format