code cleanup..
 - removes unused code
 - adds unit tests for show.json