Update ruby version
Update submodules
Ensure that API response has content-type JSON
Delete unnecessary temporary variable
Return semi-useful errors from API
Update submodules