a better way of defining 'json'
added 'BW::HTTP.request(url, method, options)