Historical Data -Exception thrown when processing json