handle integer times from json