You can use this script to generate Kartograph configurations from the QGis Python console based on your current project. At the moment this works only for vector layers created from ESRI shapefiles.
qgis2kartograph('map.json')
to generate the configuration