Fix requiring JSON arrays or other non-objects.

It was doing element-wise copy, but it should just be assigning the exports.
Use a more complete list of built-in modules.

It is generated via much hackery, but then checked in for a given release, to avoid how this seems way too fragile to do at runtime.

Fixes #33. Inspired greatly by @robrich's work in #34.