Use shape encoding to transcode field names. Python test and shape.