Small fix on get_credential_fields for xml clients

Stops function from trying to convert xml response into xml.
Merge pull request #5 from johnjohnskim/get_credential_fields-fix

Small fix on get_credential_fields for xml clients