add time logger and json format