Added API to directly parse a json string containg an array