Revert "[Bug #8064] global exports object and define function, if present shadowed by local variables of the closure"

This reverts commit 4cc3e39374a24c04dd181af6e276abec088fbe60.
Revert "[Bug #8064] JSON3 implementation wrapped by a closure. Also shadowed possibly existing global exports object and define function."

This reverts commit 82667a97cb5409a50ba4cfa74e57eb820e7861b3.