Fixed issue with broken CKEditor field tags. Added additional flags for json_encode function in elementree_markup().
Closes #3225829