Change the output formatting in ta_sparse.