Split the given text into JSON array based on a given separator. If the separator is not provided, the default is " "(space)