corrected syntax for JSON encoding of knockout viewmodel initial data