Testing dol_json_encode is not interesting now as it uses a core function