Fix warning regarding stdlib json
Rubocop fixes
Use Ruote::ReceivedError for remote errors