Added appendJSON methods - speeds up output to string