Set routes property to empty array instead of null