convert nested objects recursively when options.key isn't set