Add summary endpoint to the api - return summary from blocks of text