patch for autoloading and better usage of the option arary in the send_json_request