python script to export svg -> json