Removing pessimistic versions of gem dependencies and using faraday_middleware for json parsing