add time to api output