toByteArray is also not supported in < 1.7