Return {'geometry': None} for NULL geometries, fixing #31.