spread2json sample code and wiki