Awesome
CSON-py
Preliminaruy implementation of CSON (Cursive Script Object Notation) in python
It probably won't work as is for you, but you couls make it work easily if you read the source code.
This implementation is based on CSON-js: http://0xabcdef.com/CSON-js/
CSON documentation http://noe.mearie.org/cson/