fix JSON return for SMS Threads