Format input data in version 1.2 and earlier