Fix json datetime deserialization