Using faraday_middleware instead of local parse_json