fixed JSONException android issue
now iOS supports storing basic types as-is
android: storing basic types as-is
test for simple cases