Added support for bytes into json marshaller