bson.lua: start from index 1 when converting table arrays to bson
bson.lua: if a table is empty then consider it an empty array rather than an empty object