Added exception handling when dumping non-standard AHK objects
such as COM, Func, RegExMatch, File object(s). Fixed dumping bug
when object has a custom enumerator.
Commented out JSON.object.Remove() -> Bug: when removing a
range of integer keys, remaining integer keys are not adjusted.
Will fix in next commit.