The __geo_interface__ (https://gist.github.com/sgillies/2217756) from @sgillies is basically a python object property that returns a geojson dictionary.
We should automatically provide this method for mapnik.Feature and mapnik.Path. However Geometry2d.__geo_interface__ is blocked by lacking support for passing a bare geometry into mapnik::json::geometry_generator (#1437)