convert multiple values to real JSON arrays