`helpers.FormatFloat` function is only used in `api`. Moving it and marking it as private. We can re-export it if we find value later.
Embed pointer conversion functions in the API package to avoid unnecessary package dependency. `helper` package imports more dependencies relevant for internal use (e.g. `hcl`).