Fix bug with date parsing, JSON parsing.