Added optional toSummaryJSON function in model

Added optional toSummaryJSON function in model to facilitate sending a
digest instead of entire records