[CHANGE] moved print_json to __init__.py to use it in bin/srvinv;
[ADD] --pretty support in bin/srvinv;