'Return JSON body of the datapoints.
:return: JSON body of the datapoints.'

@classmethod
def _json_body_(cls):

    json = []
    for (series_name, data) in six.iteritems(cls._datapoints):
        json.append({u'name': series_name, u'columns': cls._fields, u'points': [[getattr(point, k) for k in cls._fields] for point in data]})
    return json
