localize time display, crash fix for invalid json