Prefixes: improvements

* better messages on why prefix needs to be kept / can be removed
* pretty-pring JSON with prefixes
* debugging

Improves #2