test for parsing json timestamp with a format string