write pretty json to disk. fixes #1
bump to 0.3.1 and update CHANGELOG
update LICENSE
update CHANGELOG