The add() method now processes the parsing of data a metric at a time. This fixes a bug where a very large JSON could cause an out of memory exception. Also, it now supports either timestamp/value pair or datapoints.