Adding helper function to convert a Visit to an API object. Adding the total points made in that visit.