Return a List<int> rather than a Map when doing toByteArray as this is more useful

In particular other libraries consider List<int> the way to represent a byte array, it might also have better performance

Signed-off-by: Daniel Thomas <drt24@cam.ac.uk>