added json templates, fixed small bugs, added strip_tags to question preview