Fixes and cleanup for the json parser
Moved `get_credential_fields` to the parser classes