Fix Boards toObject and children property

Board model's toObject method was not setting the generated children
property correctly. This fixes that.