Update unlearn.py

formatted JSON output, added cred file '.learncreds'