I am replying to your first post:
[object Object] tells you that
contains an object and not something you can output.
finalBalance (which fills
index) look like? Use
console.log to find out.
Is the value you actually want to output in there? If so, add it's key after
index to access it.