fixes json.stringify with no space; #1
complete test cases for json.stringify(); #1