Add data for joints to output