docs: update docstring of to_json() method (#511)

from #494, 

this PR updated the docstring of ``to_json`` method in the credential so that it points user to ``from_authorized_user_info`` instead of the non-existent ``from_json``
1 file changed