fixed bug: body part with newline characters give a javascript error: unterminated string literal.

Solved by using json.convert. before assigning to knockout viewmodel.