Added default option and made internal restructure.
Optimized debug output and fixed async array check bug.
Optimized error messages for object keys.