1. Remove redundant trailing \n from list response.
2. Remove redundant static string builder at return from  show function