Added translation of scala Tuples to jsArray