This patch also prepares the code for making it possible to read encoded strings with multi-dimensional points.