Access Object Within Array Javascript Append Function In R