Update utils.R

Modify toJSONarray() so that it won't take quote integers.