Fixed solToString of a couple problems to work with the Django frontend.