This is useful to generate a byte[] from an arbitrary object
This is useful to generate a byte[] from an arbitrary object