Adding support for decoding and encoding of bigints, encoding of html entities by default and encoding of control characters.