- Removed or moved `_normalizeJson` processing to occur only when needed.
- Corrected usage of `_red` to `__red`.
- Simplified JSON parsing by using more concise `cut` commands.
- Simplify token refresh logic.
The MIAB API requires that the txtvlaue to a TXT record includes the "value=" and "ttl=" components as part of the TXT record when adding a new record.
when fetching all zones the memory usage can exceede limits and also
cause timeouts.
with this change the zone will be searched via the longest to shortest
match using the get endpoint.
fixes issue #4956
previous code only worked for the first 10 domains on the account (as Linode
API returned a paginated response, with only 10 records).
This change makes an exact search query for each subdomain, completely removing any
need for walking through paginated responses. What makes it work for large
accounts with any number of domains.