chore: refactor for readability
chore: refactor for readability

This reduces the variable overhead and improves the readability
by doing so. The performance does not change due to these changes.

davidmarkclements/fast-safe-stringify