Add ToJSON and FromJSON for Textarea (fixes #738)