Bugfix: wrong rangetype/band/datatatype serialization.