Add hereditary option to as_object_map. This automatically apply as_object_map to the values of the map when the values are "plain old objects".

This behavior is slightly naive but I think it will satisfy most people who have requested this feature.


- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [x] Add / update tests
- [x] Add new / update outdated documentation

from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["shapely"])
def test_shapely(selenium):
    from shapely.geometry import MultiLineString

    coords = [((0, 0), (1, 1)), ((-1, 0), (1, 0))]
    lines = MultiLineString(coords)
    assert lines.area == 0.0
    assert round(lines.length, 2) == 3.41


@run_in_pyodide(packages=["shapely"])
def test_shapely_geos(selenium):
    import shapely.geos

    assert shapely.geos.geos_version
    assert shapely.geos.geos_version_string

from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["shapely"])
def test_shapely(selenium):
    from shapely.geometry import MultiLineString

    coords = [((0, 0), (1, 1)), ((-1, 0), (1, 0))]
    lines = MultiLineString(coords)
    assert lines.area == 0.0
    assert round(lines.length, 2) == 3.41


@run_in_pyodide(packages=["shapely"])
def test_shapely_geos(selenium):
    import shapely.geos

    assert shapely.geos.geos_version
    assert shapely.geos.geos_version_string
