debug logging for rest service
csr_matrix.toJSON