fixed bug in spring representation - recreated lost newline characters