Fix for date types in V4 JSON.