Added Dividend support and improved DB format to store in JSON not CSV