Added the functionality of transforming multiple records at once, when supplied as byte arrays