JSON encoder that aims to be fully compliant with the ECMA-262 and ECMA-404 specifications