WIP: transform object from response to line chart object.