Fix put_config_vars to not nest query inside of "body" key