Fix some problems introduced by commit 8853367
Fix some problems introduced by commit 8853367

1. Crash while generating messages with substitutions - didn't check if accessing a property of existing object.
2. Fix postback (changes) - treated string as array

Szarp/substitutions,Szarp/substitutions