making an array for an JSON argument instead of string