Allow requesting json via the command line

Usage: ?json=true
Remove unused home controller