Function toChecks

Convert backend API result to library result object to return in Client.getChecks and Client.getChecksPaginate methods