Don't #to_json the credentials