Fix date and time import from json