And this is my exporter for PhysicsEditor for Defold:
{% for body in bodies %}{% for fixture in body.fixtures %}{% for polygon in fixture.polygons %}shape_type: TYPE_HULL{% for point in polygon %}{% if not forloop.first %}{% endif %}
data: {{point.x}}
data: {{point.y}}
data: 0{% endfor %}
{% endfor %}{% endfor %}{% endfor %}