remove accidental double json encoding
bump version to 0.3.1