JSON bug & space removal & new string functions