Added multiple series processing into JSON